<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>JSP - Hello World</title>
</head>
<body>

<h1>index Page</h1>
<form action="/employee" method="post">
    <input type="hidden" name="action" value="sign_in">
    <input type="number" name="id" placeholder="ID" required>
    <br>
    <input type="password" name="password" placeholder="PASSWORD" required>
    <br>
    <input type="submit" value="Sign in">
    <a href="sign_up.jsp">Sign up</a>
    <h1 style="color: #0f5132;">${requestScope.message}</h1>
    <h1 style="color: #842029;">${requestScope.error}</h1>
    <%
        String message = (String) request.getAttribute("message");
        if (message != null) {
            out.print(message);
        }
    %>

</form>
</body>
</html>